﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:FruitWeigher"
	x:Class="FruitWeigher.UIStartInterface"
	d:DesignWidth="640" d:DesignHeight="480" Height="768" Width="480">

	<UserControl.Resources>
		<Storyboard x:Name="ANI_Over">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.GlobalOffsetY)">
				<EasingDoubleKeyFrame KeyTime="0" Value="56"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-43">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)">
				<EasingDoubleKeyFrame KeyTime="0" Value="-360"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-180">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="0" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="ANI_Start">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.GlobalOffsetY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-43"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="56"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-180"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="-360"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<Grid x:Name="GInterface" Margin="0" RenderTransformOrigin="0.5,1">
			<Grid.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Grid.RenderTransform>
			<Grid.Projection>
				<PlaneProjection/>
			</Grid.Projection>
			<Rectangle Fill="White" Stroke="Black" StrokeThickness="12" RadiusX="19.5" RadiusY="19.5" Margin="6"/>
			<Rectangle Fill="White" Stroke="#FFFFCB58" StrokeThickness="2" RadiusX="19.5" RadiusY="19.5" Margin="34,30,34,28"/>
			<TextBlock FontFamily="Comic Sans MS" FontSize="48" FontWeight="Bold" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF007B97" Margin="8,152,8,0" Height="93" VerticalAlignment="Top"><Run Text="Fruit"/><Run Text=" Weigher"/></TextBlock>
			<Button x:Name="Btn_PlayAgin" Content="Play" Margin="74,0,59,256" BorderBrush="Black" Foreground="Black" FontSize="48" FontFamily="Comic Sans MS" Style="{StaticResource ButtonStyle1}" Height="114" VerticalAlignment="Bottom"/>
			<local:Weigher x:Name="WeigherShow" Margin="0,72,59,641" Width="147" HorizontalAlignment="Right"/>
			<Button x:Name="Btn_Highest" Content="Highest Score" Margin="74,0,59,153" BorderBrush="Black" Foreground="Black" FontSize="32" FontFamily="Comic Sans MS" Style="{StaticResource ButtonStyle1}" Height="115" VerticalAlignment="Bottom"/>
			<TextBlock TextWrapping="Wrap" Text="Try find out the most heavy fruit related to those situation." Margin="73,245,53,352" Foreground="Black" FontFamily="Comic Sans MS" FontSize="32"/>
			<Button x:Name="Btn_BuyFull" Content=" Buy FullVersion" Margin="73,0,60,52" BorderBrush="Black" Foreground="Red" FontSize="32" FontFamily="Comic Sans MS" Style="{StaticResource ButtonStyle1}" Height="115" VerticalAlignment="Bottom"/>
		</Grid>
		<TextBlock TextWrapping="Wrap" Text="中游在线-nowpaper" VerticalAlignment="Bottom" Margin="0,0,35,33" Foreground="Black" HorizontalAlignment="Right" Width="186"/>
	</Grid>
</UserControl>